package com.cisdi.info.simple.util;

import com.netflix.servo.util.VisibleForTesting;
import org.apache.commons.lang.StringUtils;
import sun.java2d.d3d.D3DDrawImage;

import java.lang.reflect.MalformedParameterizedTypeException;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public class D4Util {

    public static  String convertCamelCaseName2UnderScore(String name)
    {
        return StringUtils.lowerCase(StringUtils.join( StringUtils.splitByCharacterTypeCamelCase(name),"_"));
    }

    public static Map<String,String> createMap()
    {

        Map aaa = null;
//        aaa.pu
        return new LinkedHashMap<String,String>();
    }

    public static String addMapItem(Map<String,String> map,String key, String value)
    {
//        System.out.print(key);
//        System.out.print(value);
//        System.out.print(map.toString());
        map.put(key, value);
        return "";
    }


}
